.class final Lcn/cheln/support/app/b;
.super Ljava/util/TimerTask;


# instance fields
.field private synthetic a:Landroid/content/Context;

.field private synthetic b:Landroid/view/View;


# direct methods
.method constructor <init>(Landroid/content/Context;Landroid/view/View;)V
    .locals 0

    iput-object p1, p0, Lcn/cheln/support/app/b;->a:Landroid/content/Context;

    iput-object p2, p0, Lcn/cheln/support/app/b;->b:Landroid/view/View;

    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 3

    iget-object v0, p0, Lcn/cheln/support/app/b;->a:Landroid/content/Context;

    const-string v1, "input_method"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcn/cheln/support/app/b;->b:Landroid/view/View;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcn/cheln/support/app/b;->b:Landroid/view/View;

    :goto_0
    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    return-void

    :cond_0
    iget-object p0, p0, Lcn/cheln/support/app/b;->a:Landroid/content/Context;

    check-cast p0, Landroid/app/Activity;

    invoke-virtual {p0}, Landroid/app/Activity;->getCurrentFocus()Landroid/view/View;

    move-result-object v1

    goto :goto_0
.end method
